#include <stdio.h>
#include <string.h>
#if 0
typedef struct Date
{
	int iYear;
	int iMonth;
	int iDay;
}Date;
#endif
struct Date
{
	int iYear;
	int iMonth;
	int iDay;
}born = {1985, 11, 17};
//相当于定义了一个全局的结构体变量born;
//等同于 --> struct Date born = {1985, 11, 17};

int main(void)
{
	printf("%d-%d-%d\n", born.iYear, born.iMonth, born.iDay);
	born.iYear = 19999;
	printf("%d\n", born.iYear);

	return 0;
}
